const mongoose = require('./db');//引入数据库连接模块

const Schema = mongoose.Schema;//拿到数据库对应的集合对象

const echartSchema = new Schema({
   
        body: { type: String },
        username: { type: String },
        userid: { type: String },
        kindid: { type: String },
    value: { type: Number },
    PLid:{type:String}

    // img: { type: String }
}, {
    timestamps:true
})//设计时间


module.exports = mongoose.model('Echart', echartSchema);